package com.luochen.cdpt.util;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @Auther: star
 * @Date: 2018/12/11 09:06
 * @Description:
 */
public class Test {
    public static void main(String[] args){
        BCryptPasswordEncoder bCryptPasswordEncoder = new BCryptPasswordEncoder();
        String code = bCryptPasswordEncoder.encode("123456");
        System.out.println(code);
    }
}
